package cn.touna.jss.modules.third.paipai.entity;

import cn.touna.risk.api.contraints.IdCard;
import cn.touna.risk.api.contraints.Mobile;

import javax.validation.constraints.NotNull;

/**
 * @author: xiaoli
 * @date: 2019/4/2 14:07
 * @Desc:
 **/
public class FraudInfoEntity {

    @NotNull(message = "姓名不能为空")
    private String name;
    @Mobile(message = "手机号校验失败")
    private String mobile;
    @IdCard(message = "身份证校验失败")
    private String idCard;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }
}
